$(function(){
	
})

function searchUser(username) {
		$.ajax({
		url:'/connect/search_user',
		type: 'POST',
		data:{
			username:username
		},
		dataType:'json',
		success: function(data){
			if(data.status==200) {
				openNoClose({title:data.data.username,width:'19%',height:'25%',url:'/system/user/load_user?id='+data.data.id})
			}else {
				$.messager.alert('消息',data.msg);
			}
			},
			error:function(data) {
				console.log(data.data);	
			}
		})
}